package com.holyn.guofang.presenter.distinguish;

import com.holyn.guofang.model.webhttp.wo.BrandBulletinWo;
import com.holyn.guofang.model.webhttp.wo.BrandGoodsWo;
import com.holyn.guofang.model.webhttp.wo.BrandInfoWo;
import com.holyn.guofang.model.webhttp.wo.BrandProcessWo;
import com.holyn.guofang.presenter.AbstractBasePresenterImp;
import com.holyn.guofang.presenter.BaseView;

/**
 * Created by Holyn on 2017/7/19.
 */

public class SearchResultDetailContract {
    public  static abstract class  Presenter extends AbstractBasePresenterImp {
        public Presenter(BaseView baseView) {
            super(baseView);
        }

        public abstract void addDetailView(SearchResultDetailContract.DetailView detailView);
        public abstract void addNoticeView(SearchResultDetailContract.NoticeView noticeView);
        public abstract void addProcessView(SearchResultDetailContract.ProcessView processView);
        public abstract void addServiceView(SearchResultDetailContract.ServiceView serviceView);

        /**
         * 获取某一商标信息。
         */
        public abstract void postTmInfbyMarkNo(final int requestAction, String MarkNo, Integer MarkClass);
        /**
         * 获取某一商标公告信息。(商标详情-左上角的查看商标公告)
         */
        public abstract void postBulletinInfo(final int requestAction, String MarkNo, Integer MarkClass);
        /**
         * 获取某一商标流程信息。(商标详情-顶部的查看事物流程)
         */
        public abstract void postMarkProcess(final int requestAction, String MarkNo, Integer MarkClass);
        /**
         * 获取某一商标商品明细信息。(商标详情-右上角的查看商品服务)
         */
        public abstract void postMarkGoods(final int requestAction, String MarkNo, Integer MarkClass);


    }

    public interface DetailView{
        void responseSuccess(Integer requestAction, BrandInfoWo brandInfoWo);
    }

    /**
     * 查看商标公告
     */
    public interface NoticeView{
        void responseSuccess(Integer requestAction, BrandBulletinWo brandBulletinWo);
    }

    /**
     * 查看事务流程
     */
    public interface ProcessView{
        void responseSuccess(Integer requestAction, BrandProcessWo brandProcessWo);
    }

    /**
     * 查看商品服务
     */
    public interface ServiceView{
        void responseSuccess(Integer requestAction, BrandGoodsWo brandGoodsWo);
    }

}
